# 父类 Fu
class Fu(object):
    def __init__(self):
        self.num = 1

    def info_print(self):
        print(self.num)

# 子类 Zi -- 默认继承父类的所有属性和方法
class Zi(Fu):
    pass


zi = Zi()
zi.info_print() # 1
